package com.ithm;

public class Demo5 {
    public static void main(String[] args) {
        int[] arr =new int[]{10,20,30};
        arr=change(arr);
        System.out.println(arr[0]);
    }
    public static int[] change(int[] arr) {
        arr = new int[]{100, 200, 300};
    return arr;
    }
}
